home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / CLESSONS.ZIP / CONTENTS next >
Text File  |  1986-02-14  |  4KB  |  197 lines

  1. .NT
  2.  A NOTE ABOUT THE LESSONS in C 
  3. .b4-24R5C4
  4. These were written while the author was ~Ilearning~N  the language and since
  5. .R6C4
  6. they  are  ~Ifree~N ( to  copy  and/or  distribute ) there  is  a money-back
  7. .R7C4
  8. guarantee on the accuracy of each and every statement in the lessons (!)
  9. .R9C4
  10. The  ~Idisplay~N  program was written ( in C ) in order to provide a vehicle
  11. .R10C4
  12. for displaying the lessons.
  13. .R12C5
  14. .B
  15. P.J.Ponzo
  16. .B
  17. Dept. of Applied Math
  18. .B
  19. Univ. of Waterloo
  20. .B
  21. Ontario N2L 3G1
  22. .K16,32
  23. PonzoTUTOR
  24. .WNT
  25.    TABLE of CONTENTS   
  26. .R5C1
  27.                                     ~ILESSON1~N
  28. ~V
  29. .b4-6
  30. ~N
  31. .R8C1
  32.        Getting Started in C : INPUT and OUTPUT   
  33.        More on printf  
  34.        A look at DATA TYPES  
  35.        Declaring the DATA TYPE  
  36.        INTEGERS and FLOATS
  37.        INPUT from the KEYBOARD with scanf()  
  38.        About Memory Locations...and the & prefix    
  39.        What's wrong with the following program? 
  40.        REVIEW of printf() and scanf()  
  41.        some final comments about printf() and scanf()  
  42.        ... and then there's CAST
  43.        a final note on DATA TYPES       
  44. .b7-20
  45. .WN
  46. .R3C1
  47.                                     ~ILESSON2~N
  48. ~V
  49. .b2-4
  50. ~N
  51. .R6C1
  52.        STRINGS 'N' THINGS   
  53.        Double Quotes and Strings : Single Quotes and Characters  
  54.        how does a string end?  
  55.        just one word about 'string arrays'  
  56.        Other special characters like \0  
  57.        SPECIAL \CHARACTERS  
  58.        Other 'format' info you can give to printf()  
  59.        good form .. bad form  
  60.        A note on format specifications   
  61.        More notes on format specifications    
  62.        and some final notes on format     
  63. .b5-17
  64. .WN
  65. .R3C1
  66.                                     ~ILESSON3~N
  67. ~V
  68. .b2-4
  69. ~N
  70. .R6C1
  71.        FUNCTIONS()  
  72.        writing the function average()    
  73.        How to COMPILE   
  74.        FUNCTIONS HAVE A PRIVATE COPY OF THEIR ARGUMENTS    
  75. .b5-10
  76. .R14C1
  77.                                     ~ILESSON4~N
  78. ~V
  79. .b13-15
  80. ~N
  81. .R17C1
  82.        FOR WHILE and other good stuff   
  83.        PRETTY PROGRAMS  
  84.        now DO this for a WHILE
  85.        a REVIEW 
  86. .b16-21
  87. .WN
  88. .R3C1
  89.                                     ~ILESSON5~N
  90. ~V
  91. .b2-4
  92. ~N
  93. .R6C1
  94.        let's try IF FOR a WHILE   
  95.        IF (this) do that ELSE IF (this) do that ELSE do that
  96.        More stuff like i++   
  97.        and tests for EQUALITY && INEQUALITY etc.  
  98. .b5-10
  99. .R13C1
  100.                                     ~ILESSON6~N
  101. ~V
  102. .b12-14
  103. ~N
  104. .R16C1
  105.        POINTERS and ARRAYS  
  106.        VARIABLES and their HOMES in MEMORY   
  107.        hip hip ARRAYS    
  108.        More POINTERS and ARRAYS   
  109.        Be kind to your compiler  
  110.        STRINGS and 1-dimensional CHAR ARRAYS
  111.        more and more ARRAYS   
  112.        What's in a name ? (of an ARRAY)
  113. .b15-24
  114. .WN
  115. .R3C1
  116.                                     ~ILESSON7~N
  117. ~V
  118. .b2-4
  119. ~N
  120. .R6C1
  121.         More FUNCTIONS, including main()   
  122.         don't forget STDIO.H   
  123.         The main() arguments   
  124.         Some SUM programming ...
  125. .b5-10
  126. .R14C1
  127.                                     ~ILESSON8~N
  128. ~V
  129. .b13-15
  130. ~N
  131. .R17C1
  132.         FILES FILES FILES   
  133.         counting from 'a to 'z'   
  134. .b16-19
  135. .WN
  136. .R3C1
  137.                                     ~ILESSON9~N
  138. ~V
  139. .b2-4
  140. ~N
  141. .R6C1
  142.         the big SWITCH
  143.         more SWITCHing
  144.         CALL BY VALUE  and  CALL BY REFERENCE
  145.         passing FUNCTIONS to FUNCTIONS
  146. .b5-10
  147. .R14C1
  148.                                     ~ILESSON10~N
  149. ~V
  150. .b13-15
  151. ~N
  152. .R17C1
  153.         the C PREPROCESSOR
  154.         #define THIS and THAT
  155.         #include <stdio.h> and #include <math.h>
  156.         even sexier #definitions
  157.         SUGAR for the kids
  158.          notes from the author
  159.         typedefinitions
  160. .b16-24
  161. .WN
  162. .R3C1
  163.                                     ~ILESSON11~N
  164. ~V
  165. .b2-4
  166. ~N
  167. .R6C1
  168.         a little STRUCTURE
  169.         inside a STRUCTure
  170.         defining a STRUCTure
  171.         STRUCTures within STRUCTures ??
  172. .b5-10
  173. .R14C1
  174.                                     ~ILESSON12~N
  175. ~V
  176. .b13-15
  177. ~N
  178. .R17C1
  179.         FIELDS
  180.         UNIONS
  181. .b16-19
  182. .WN
  183. .R3C1
  184.             ~ITEST1-5~N        A TEST on lessons 1 to 5
  185. ~V
  186. .b2-4
  187. ~N
  188. .R8C1
  189.             ~ITEST6-8~N        A TEST on lessons 6 to 8
  190. ~V
  191. .b7-9
  192. ~N
  193. .W
  194. .q
  195.  
  196.  
  197.